Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim factory As ChannelFactory(Of T) Dim parameters As FederatedClientCredentialsParameters Dim returnValue As T returnValue = ChannelFactoryOperations.CreateChannelWithParameters(factory, parameters) |
Syntax
Visual Basic |
---|
Public Shared Function CreateChannelWithParameters(Of T) ( _ factory As ChannelFactory(Of T), _ parameters As FederatedClientCredentialsParameters _ ) As T |
C# |
---|
public static T CreateChannelWithParameters<T> ( ChannelFactory<T> factory, FederatedClientCredentialsParameters parameters ) |
C++ |
---|
public: generic<typename T> static T CreateChannelWithParameters ( ChannelFactory<T>^ factory, FederatedClientCredentialsParameters^ parameters ) |
J# |
---|
|
JScript |
---|
|
Parameters
- factory
- parameters
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.